home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Hot Mix 17
/
Hot Mix 17.iso
/
HM17_SGI
/
.bin
/
netscape
/
mailcap.nofork.hm17
< prev
next >
Wrap
Text File
|
1997-07-23
|
12KB
|
245 lines
# Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
#
# Permission to use, copy, modify, and distribute this material
# for any purpose and without fee is hereby granted, provided
# that the above copyright notice and this permission notice
# appear in all copies, and that the name of Bellcore not be
# used in advertising or publicity pertaining to this
# material without the specific, prior written permission
# of an authorized representative of Bellcore. BELLCORE
# MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
# OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS",
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
# Mailcap file for Netscape
#
# Users may override or extend this with a .mailcap file in
# their own directory. Netscape will search both mailcap
# files looking for a match.
#
# imgview currently can view SGI, TIFF, JFIF/JPEG, and GIF formats.
# Netscape has builtin viewing support for GIF and JFIF and if the
# mailcap entries for these are commented out, it will display those
# images as a new page when downloaded. However, for consistency
# the default is to use the external viewer.
#
# First a note about syntax:
# The first token in a configuration line represents a mime type.
# A mime type is of the form "SubGroup/Item" and either token
# can be replaced by the wildcard character "*"
# the second token is the command that you would run
# when the specified mime type is encountered. An example
# would be "xv %s" where %s will be replaced by a filename
# remaining tokens represent name value pairs.
# the "test=" pair invokes the test command
# specified and checks the UNIX shell return code to see if the
# test passed. If the test passes the mime mapping is made, otherwise
# the mapping is not made.
# the "stream-buffer-size=" pair tells the application
# to use a popen command to invoke the program specified and to
# pipe all data into the command. Only programs that can handle
# piped input can use this method. When this method is used
# a "%s" should not be included in the command. You should
# make sure that the program you wish to use can accept piped
# data by trying something like this before using it:
# cat "YOUR_DATA_FILE_HERE" | COMMAND_TO_TEST
# You may continue lines by using the backslash character "\"
image/x-rgb; imgview -nofork %s; compose=imgworks %s; \
description="RGB Image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/x-sgi-bw; imgview -nofork %s; compose=imgworks %s; \
description="SGI b/w image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/x-sgi-rgba; imgview -nofork %s; compose=imgworks %s; \
description="SGI RGBA image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/x-sgi-image; imgview -nofork %s; compose=imgworks %s; \
description="SGI image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/x-bitmap; bitmap %s; description="X11 bitmap"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/x-xbitmap; bitmap %s; description="X Bitmap"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/x-xpm1; olpixmap %s; description="OL pixmap"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/x-xpixmap; pixmap %s; description="X pixmap"; \
x-mozilla-flags=save; Plugin; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/x-png; ; description="PNG"; \
x-mozilla-flags=save; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/x-MS-bmp; ; description="PNG"; \
x-mozilla-flags=save; \
x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
image/tiff; imgview -nofork %s; compose=imgworks %s; description="TIFF Image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/gif; imgview -nofork %s; compose=imgworks %s; description="GIF Image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/jpeg; imgview -nofork %s; compose=imgworks %s; description="JFIF Image";\
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/jpg; imgview -nofork %s; compose=imgworks %s; description="JFIF Image";\
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/x-photo-cd; imgview -nofork %s; compose=imgworks %s; \
description="Photo CD image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
image/*; imgview -nofork %s; compose=imgworks %s; description="basic image"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
x-music/x-midi; soundplayer -nofork -nounique %s; \
description="Standard MIDI Music"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-aiff; soundplayer -nofork -nounique %s; compose=soundeditor %s; \
description="AIFF Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-aifc; soundplayer -nofork -nounique %s; compose=soundeditor %s; \
description="AIFC Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-next; soundplayer -nofork -nounique %s; compose=soundeditor %s; \
description="NeXT Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-wav; soundplayer -nofork -nounique %s; compose=soundeditor %s; \
description="WAV Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-mpeg; soundplayer -nofork -nounique %s; \
description="MPEG Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
audio/x-pn-realaudio; raplayer %s; \
description="RealAudio "; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
#
# use this preferentially to do streaming audio if you have
# the playulaw program
#audio/basic; playulaw; stream-buffer-size=2000
#
# otherwise, if you don't have playulaw, use this
audio/basic; soundplayer -nofork -nounique %s
# here is an interesting command that enables you to sit
# in front of a different UNIX machine than the one where
# you are running the Netscape Navigator and still here audio.
#
#audio/basic; rsh YOUR_HOST_HERE /usr/local/bin/playulaw; \
# test=test `hostname`x != YOUR_HOST_HEREx; stream-buffer-size=2000
audio/*; soundplayer -nofork -nounique %s
#
#
# Movieplayer understands SGI, QuickTime, MPEG Video, and MPEG Systems
#
video/x-sgi-movie; movieplayer -v -nofork %s; compose=moviemaker %s; \
description="SGI Video"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
video/mpeg; movieplayer -v -nofork %s; compose=moviemaker %s; \
description="MPEG Video"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
video/x-mpeg2; movieplayer -v -nofork %s; compose=moviemaker %s; \
description="MPEG2 Video"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
video/x-mpeg-system; movieplayer -v -nofork %s; compose=moviemaker %s; \
description="MPEG Movie"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
video/quicktime; movieplayer -v -nofork %s; compose=moviemaker %s; \
description="Quicktime Video"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
#
application/x-sh; /bin/sh -f %s; description="Bourne shell"
application/x-csh; /bin/csh -f %s; description="C shell"
application/x-xdma; /usr/bin/X11/xnetview %s; \
description="StreamWorks Viewer"
application/x-enterlicense; /usr/etc/enterlicense %s; \
description="Software Licensing document"
application/x-licensemgr; /usr/etc/LicenseManager %s; \
description="Software License Installation"
application/x-install; /usr/sbin/SoftwareManager -F %s \
-Vauto_inst_new:F -Vauto_inst_upgrades:F -Vbackground:F ; \
description="Automatic inst installation"
application/x-showcase; showcase -v -f %s; \
compose=showcase %s; description="Showcase document"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/showcase.xbm"
application/x-framemaker; /usr/frame/bin/fmclient -f %s; \
compose=fmclient -f %s; description="FrameMaker document"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/frame.xbm"
application/x-wingz; Wingz %s; compose=Wingz %s; \
description="Wingz document"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
application/x-SYLK; Wingz %s; compose=Wingz %s; \
description="Spreadsheet in SYLK format"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
graphics/x-inventor; /usr/sbin/webspace -remote %s -URL %u ; \
x-mozilla-flags=save; \
description="Inventor file"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-inventor; /usr/sbin/webspace -remote %s -URL %u ; \
x-mozilla-flags=plugin:libcosmoplayer.so; \
description="Inventor file"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
model/vrml; /usr/sbin/webspace -remote %s -URL %u ; \
x-mozilla-flags=plugin:libcosmoplayer.so; \
description="VRML document"
x-world/x-vrml; /usr/sbin/webspace -remote %s -URL %u ; \
x-mozilla-flags=plugin:libcosmoplayer.so; \
description="VRML document"
application/postscript; /usr/bin/X11/xpsview %s; \
description="PostScript Document";
application/x-annotator; /usr/sbin/annotator -v -r %s; \
description="IRIS Annotator file"; compose=/usr/sbin/annotator %s; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-tardist; tardist %s; description="SGI inst tar distribution"
application/pdf; acroread %s; description="Portable Document Format"
application/x-iconbook; /usr/sbin/iconbook; \
description="IconBook"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-inpview; /usr/lib/InPerson/inpview -wbfile %s; \
description="InPerson Whiteboard file"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-inperson-call; /usr/lib/InPerson/inpcontrol "`cat %s`"; \
description="An InPerson Call Jumper"
application/x-mailfolder; /usr/bin/X11/zmail -gui -folder %s; \
description="Zmail folder file"; compose=/usr/bin/X11/zmail -gui %s; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-ppages; /usr/sbin/peoplepages; \
description="InPerson PeoplePages"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-dirview; /usr/sbin/dirview `cat %s`; \
description="desktopManager Directory View"; \
x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
application/x-rapidapp; /usr/sbin/rapidapp %s; \
description="RapidApp file"
application/x-wsNt; wsNt -URL %u -remote %s ; \
description="Surf N Tell data stream"
application/x-csNt; wsNt -URL %u -remote %s ; \
description="Surf N Tell control"
application/x-sdr; /usr/local/lib/netscape/sdr-launch %u %s ; \
description="Session Directory Tool Launcher"
application/x-sgi-glossary; /usr/sysadm/bin/glossary %s; \
description="System Administration Glossary"
x-conference/x-cooltalk; /usr/local/lib/netscape/cooltalk/cooltalk %s
application/x-excel; /usr/local/lib/netscape/swinexec %s excel; \
description="Microsoft Excel Document";
application/msexcel; /usr/local/lib/netscape/swinexec %s excel; \
description="Microsoft Excel Document";
application/x-dos_ms_excel; /usr/local/lib/netscape/swinexec %s excel; \
description="Microsoft Excel Document";
application/x-dos_ms_word; /usr/local/lib/netscape/swinexec %s winword; \
description="Microsoft Word-for-Windows Document";
application/msword; /usr/local/lib/netscape/swinexec %s winword; \
description="Microsoft Word-for-Windows Document";
application/mspowerpoint; /usr/local/lib/netscape/swinexec %s powerpnt; \
description="Microsoft PowerPoint Document";
application/x-dos_ms_powerpnt; /usr/local/lib/netscape/swinexec %s powerpnt; \
description="Microsoft PowerPoint Document";
application/x-dos_ms_access; /usr/local/lib/netscape/swinexec %s msaccess; \
description="Microsoft Access Document";
application/x-dos_ms_msaccess; /usr/local/lib/netscape/swinexec %s msaccess; \
description="Microsoft Access Document";
application/x-dos_fmpro; /usr/local/lib/netscape/swinexec %s fmpro; \
description="FileMaker Pro Document";
application/x-dos_claris_fm; /usr/local/lib/netscape/swinexec %s fmpro; \
description="FileMaker Pro Document";
video/mvptr;/usr/sbin/movieplayer `cat %s`
default; cat %s; copiousoutput